<html xmlns="http://www.w3.org/1999/xhtml"  
     xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:p="http://primefaces.prime.com.tr/ui"> 
    

<h:head>
<link 
	rel="stylesheet" 
	type="text/css" 
	href="../css/common.css" media="screen" /> 
</h:head>
<h:body style="background-color:#B0C4DE">

 
<p:dock>  
    <p:menuitem value="Portal Principal" icon="/resources/images/dock/Home.png" url="#"/>  
    <p:menuitem value="Usuário" icon="/resources/images/dock/User.png" url="#"/>  
    <p:menuitem value="Cadastro" icon="/resources/images/dock/New Window.png" url="#"/>  
    <p:menuitem value="Consulta" icon="/resources/images/dock/Search.png" url="#"/>  
    <p:menuitem value="Ferramentas" icon="/resources/images/dock/Tools.png" url="#"/>  
    <p:menuitem value="Ajuda" icon="/resources/images/dock/Help.png" url="#"/>  
 </p:dock>  
<p:menubar autoSubmenuDisplay="true">

	
<p:submenu label="Usuário" icon="ui-icon ui-icon-person">
		 <p:menuitem value="Editar Perfil" url="#"/>
		 <p:menuitem value="Propostas" url="#"/>
		 <p:menuitem value="Cooperações" url="#"/>
		 <p:separator /> 
		 <p:menuitem value="Sair" onclick="confirmation.show();" icon="ui-icon ui-icon-close" url="#" />
</p:submenu>
	
<p:submenu label="Cadastrar" icon="ui-icon ui-icon-document">
		 <p:menuitem value="Curso" url="#" />
		 <p:menuitem value="Departamento" url="#" />
		 <p:separator /> 
		 <p:menuitem value="Proposta" url="#" />
		 <p:menuitem value="Notícia" url="#" />
		 <p:menuitem value="Atividade" url="#" />
		 <p:menuitem value="TCC" url="#" />
		 <p:menuitem value="Ata de Reunião" url="#" />
		 <p:menuitem value="Cronograma" url="#" />
</p:submenu>

<p:submenu label="Consultar" icon="ui-icon ui-icon-search">
		 <p:menuitem value="Propostas" url="#" />
		 <p:menuitem value="Atividades" url="#" />
		 <p:menuitem value="TCC" url="#" />
		  <p:separator /> 
		 <p:menuitem value="Departamento" url="#" />
		 <p:menuitem value="Curso" url="#" />
</p:submenu>

<p:submenu label="Ferramentas" icon="ui-icon ui-icon-gear">
 		 <p:submenu label="Homologar">
 		 		<p:menuitem value="Cadastro de Visitante" url="#" />
 		 		<p:menuitem value="Cadastro de TCC" url="#" />
 		 		<p:menuitem value="Cadastro de Notícias" url="#" />
		 </p:submenu>
</p:submenu>
	
<p:menuitem value="Ajuda" icon="ui-icon ui-icon-help" url="#" />
	
</p:menubar>

<p:confirmDialog message="Deseja realmente sair?"  
                 showEffect="bounce" hideEffect="explode"  
                 header="SIGTCC - Sistema de Gestão de TCC" severity="alert" widgetVar="confirmation">  
                    <h:form>
		         <p:commandButton value="Sim" update="messages" oncomplete="confirmation.hide()"  
                     actionListener="#{buttonBean.destroyWorld}" />  
         		 <p:commandButton value="Não" onclick="confirmation.hide()" type="button" />                    
 					</h:form>
</p:confirmDialog> 

</h:body>
</html>